package com.starview.platform.data;

import java.util.Iterator;



/**
 * This is an extension of Iterator that allows in-place replacement of items as
 * well as removal of items.
 * 
 * @author fgm
 * 
 * @param <E>
 */
public interface ITraveler<E> extends Iterator<E>
{
  /**
   * Replace the current item with a new value
   * 
   * @param value
   *          to replace the current items
   */
  void replace(E value);
}
